package com.nt.train.service.impl;

import com.nt.train.annotation.HandleService;
import com.nt.train.service.TestABean;
import com.nt.train.service.TestBean;
import com.nt.train.service.TestInterface;

/**
 * @author hlf
 * @version 1.0
 * @date 2022/8/11 14:38
 */
@HandleService
public class TestInterfaceImpl implements TestInterface{

    private final TestBean testBean;

    private final TestABean testABean;

    public TestInterfaceImpl(TestBean testBean,TestABean testABean) {
        this.testBean =testBean ;
        this.testABean= testABean;
        System.out.println("测试接口实现");
        testBean.getSuccess();
        testABean.getSuccess();
    }
}
